package com.pkk.alert.web.config.properties;

import java.io.Serializable;
import java.util.concurrent.ScheduledFuture;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 定时任务的基础信息
 *
 * @author peikunkun
 * @version V1.0
 * @date 2020-11-03 15:18
 **/
@Data
@Slf4j
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ScheduleRuntimeVo implements Serializable {

  /**
   * 运行时的定时任务信息
   */
  private ScheduledFuture<?> future;

  /**
   * 运行时的配置信息
   */
  private ScheduleInfo scheduleInfo;

}

